package com.jshan.base.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.List;

@Data
@Schema(description = "创建数据表请求")
public class TableCreateRequest {
    @Schema(description = "表名")
    private String tableName;

    @Schema(description = "表注释")
    private String tableComment;

    @Schema(description = "存储引擎")
    private String engine;

    @Schema(description = "字符集")
    private String charset;

    @Schema(description = "字段列表")
    private List<TableFieldDTO> fields;

    @Schema(description = "索引列表")
    private List<TableIndexDTO> indexes;
}